/* 声明字体*/
@font-face {
    font-family: electronicFont;
    src: url(../font/DS-DIGIT.TTF);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  
}


.box {
    width: 1rem;
    height: 1rem;
    background-color: pink;
}

li {
    list-style: none;
}

body {
    background: url(../images/bg.jpg) no-repeat top center;
    line-height: 1, 15;
}

header {
    height: 1.25rem;
    background: url(../images/head_bg.png) no-repeat;
    background-size: 100% 100%;
    position: relative;

    h1 {
        color: white;
        font-size: .475rem;
        text-align: center;
        line-height: 1rem;
    }

    .showTime {
        position: absolute;
        right: .375rem;
        top: 0;
        line-height: .9375rem;
        color: rgb(255, 255, 255, 0.7);
        font-size: .25rem;
    }
}

.mainbox {
    display: flex;
    min-width: 1024px;
    max-width: 1920px;
    margin: 0 auto;
    height: 300px;

    margin: .125rem .125rem 0;

    .column {
        flex: 3;

        &:nth-child(2) {
            flex: 5;
            margin: 0 .1875rem .125rem;

        }

        .panel {
            position: relative;
            height: 3.875rem;
            background-color: yellow;
            background: url(../images/line\(1\).png) rgba(255, 255, 255, 0.04);
            border: 1px solid rgba(25, 186, 139, 0.17);
            padding: 0 .1875rem .5rem;
            margin-bottom: .1875rem;

            &::after {
                content: ' ';
                position: absolute;
                top: 0;
                left: 0;
                width: 10px;
                height: 10px;
                border-left: 2px solid #02a6b5;
                border-top: 2px solid #02a6b5;
            }

            &::before {
                content: ' ';
                position: absolute;
                top: 0;
                right: 0;
                width: 10px;
                height: 10px;
                border-right: 2px solid #02a6b5;
                border-top: 2px solid #02a6b5;
            }

            .footer {
                position: absolute;
                bottom: 0;
                left: 0;
                height: 10px;
                width: 100%;

                &::after {
                    content: ' ';
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 10px;
                    height: 10px;
                    border-left: 2px solid #02a6b5;
                    border-bottom: 2px solid #02a6b5;
                }

                &::before {
                    content: ' ';
                    position: absolute;
                    top: 0;
                    right: 0;
                    width: 10px;
                    height: 10px;
                    border-right: 2px solid #02a6b5;
                    border-bottom: 2px solid #02a6b5;
                }

            }

            h2 {
                height: .6rem;
                line-height: .6rem;
                text-align: center;
                font-size: 20px;
                font-weight: 400;
                color: white;
            }

            .chart {
                height: 3rem;
            
            }
        }

        .no {
            background-color: rgba(101, 132, 226, 0.1);
            padding: .125rem;

            .no-hd {
                position: relative;
                border: 1px solid rgba(25, 186, 139, 0.17);

                &::after {
                    content: ' ';
                    position: absolute;
                    top: 0;
                    left: 0;
                    width: 10px;
                    height: 10px;
                    border-left: 2px solid #02a6b5;
                    border-top: 2px solid #02a6b5;
                }

                &::before {
                    content: ' ';
                    position: absolute;
                    bottom: 0;
                    right: 0;
                    width: 10px;
                    height: 10px;
                    border-right: 2px solid #02a6b5;
                    border-bottom: 2px solid #02a6b5;
                }

                ul {
                    display: flex;

                    li {
                        flex: 1;
                        text-align: center;
                        height: 1rem;
                        font-size: .875rem;
                        color: #ffeb7b;
                        font-family: "electronicFont";
                        position: relative;

                    }

                    .xx {
                        &::after {
                            width: 1px;
                            content: "";
                            position: absolute;
                            top: 25%;
                            right: 0;
                            height: 50%;
                            background-color: wheat;
                        }
                    }

                }
            }

            .no-bd {
                ul {
                    display: flex;

                    li {
                        flex: 1;
                        text-align: center;
                        height: .5rem;
                        color: rgba(255, 255, 255, 0.7);
                        font-size: .225rem;
                        padding-top: .125rem;

                    }
                }
            }
        }

        .map {
            height: 10.125rem;
            position: relative;

            .map1 {
                position: absolute;
                height: 6.475rem;
                width: 6.475rem;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background: url(../images/map.png);
                background-size: 100%, 100%;
                opacity: 0.3;
            }

            .map2 {
                position: absolute;
                width: 8.0375rem;
                height: 8.0375rem;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background: url(../images/lbx.png);
                background-size: 100%, 100%;
                opacity: 0.6;
                animation: rotate1 15s linear infinite;
            }

            @keyframes rotate1 {
                form {
                    transform: translate(-50%, -50%) rotate(0deg)
                }
                to {
                    transform: translate(-50%, -50%) rotate(360deg)
                }
            }

            .map3 {
                position: absolute;
                width: 566px;
                height: 566px;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background: url(../images/jt.png);
                background-size: 100%, 100%;
                opacity: 0.6;
                animation: rotate2 15s linear infinite;
            }
            @keyframes rotate2 {
                form {
                    transform: translate(-50%, -50%) rotate(0deg)
                }
                to {
                    transform: translate(-50%, -50%) rotate(-360deg)
                }
            }
            .chart{
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 10.125rem;
            }
        }
    }
}

/* 约束屏幕尺寸 */
@media screen and (max-width: 1024px) {
    html {
      font-size: 42px !important;
    }
  }
  @media screen and (min-width: 1920px) {
    html {
      font-size: 80px !important;
    }
  }